package com.zmc.order.infrastructure.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zmc.order.infrastructure.entity.CommentAggregateEntity;
import com.zmc.order.infrastructure.entity.CommentInfoEntity;

/**
 * 评论聚合汇总表
 *
 * @author zmc
 * @email 
 * @date 2025-02-20 17:47:11
 */
public interface CommentAggregateService extends IService<CommentAggregateEntity> {

    CommentAggregateEntity getBySpuId(String spuId);

    void commentAggregate(CommentInfoEntity info, boolean flag);
}

